bug fix for issue #391 (xqt refers to pt)