fixing location logs