fixed if sentence