fixes path variable