fixes #5539;