fixing bug in issue 4730
fixing bug in issue 4730
fixes issue #4730
fixes bug in issue #4730