exercise errors fixed