fixes #5344