fix bug from previous bug fix where some directories are not read anymore. yeah, i suck.