Fixed teacher db has mas klasses