bug fix - refs #5