fix bug: ignore hide root files and dirs