Fix duplicated directory