Bug fix malformed error message
Fix bug of deleting URL being malformed