fixsing all the annying warnings
and fixsing edit student by secretary