fix encoding error in title_confirmation; update to retooled query writer