account for bad urls