rm base dir image