tweak privatelib stuff a little