fixed ref #4270