fix assign teacher to course