fixed terminal success

lesson was not being passed correctly on success