Fix masking init