Fix syntax error: close 'if' block.