fixed if construct