refs #250 fixed bug