the curse of PKGDIR!