fixed if then