fix bug that do not allow edit first_name and last_name field in professor modal, fixes #265