fixing location paths