refs #1580 fix bug