[style] always use curly braces with if statements