fixed edit teacher redirection