Fixes in the teachers view