c dir fixing