fixed gcc warning about missing braces