Fixed display bug in teacherstable