fix issues with paths