Fixed tutoring bugs