fixed issue 3588.