fix bug in using pt_raw for scoring