fix

added closedir()