fixed getMaskIndex switch