bug fix required by Cathy Redmine #1061