modify the p's bug