fix check exists