Fix minor bug in PT.