fix #12836

Thanks @Quy.