Fix a bug due to lesson obtaining id after saved