fix teacher from server to client