(refs #13)Bug fix