fixing location manager