Every function except delete_url  works