fixed bug of loadmask
fixed bug of loadmask