fix for deleting friendly urls