bugfix (masks in homogen CB model)