fixed the user location bug