fix rtl for multimasks