bug fix for teacher enrollment