gets correct relative path