fixing relative path issues