fixed if structure