remove location bug