(refs #114)Bug fix