fix crash on empty folder check