Corret boolean problem