fixed bug for reset papi