Use curly brackets even in one line ifs, please. Here an in the rest of the patch.