fix for crash when assign tutor in students page