mean mask to utils