bug fixing of file paths