fixed deleting locations redirect