fix for LoadMask