fix issues with filesystem paths