corrected paOriginToText