这个句子语法上有错吗

问题描述:

这个句子语法上有错吗
I thought about it last night,deciding to put off the lesson,spending more time to learn something.

有.更好的表达是
After I thought about it last night,I decided to put off the lesson and spend more time learning something else.