change dir struct

Just modifying dir structure