tweaks to ParaTExt export function