prevent scandir warning