fix check on existance