Fix relative path issues