fix #12891 Signed-off-by: a1012112796 <[email protected]> Co-authored-by: Lauris BH <[email protected]>