fix dir names to be lowercase