fixing path variable