avoid folder error