wrong url patterns for /edit /delete fixed