fix pps_a with multiple cores