Fixed issues with url id to delete