Fix bug in mask reader