Fixed formatting of "if" statements