Fixed conditional syntax error