fix exposed ppa function