fix #4402
addresses issue #4310