Fixes #4525 thanks for the report