fix bad dir