fixed output format of ptw_pref