professor functional but subjects edit not working