empty folder error handled