bug fix

issue #3732