fixed student and teacher ui