Fixes path issues