remove keepdir