refs #4967 handle whitespace