ticket_275 bug fixes in namePairInput