Fixed if syntax