fixed bug concerning direct filepathes