fixes #5204906