Fixed syntax error (missing "if")