fixed edit and back to route page