fix if syntax
3 files changed