correcting of last solution