bug fix #3957