bad braces on an if statement