refs #1560 fix bug