relative file paths bug fixed