fixed missing dirs