fix the bug on if user didnt enter url user still can delete information