fix the bug of pc models.py