location relative path fix