Fixing location bug.