fixed hidden folder detection