bug fix to pt test