refs #1572 fix bug