refs #1567 fix bug