fix PATH problems