fix syntax error in exercises controller