fixed bug on delete urls