fixes path stuff