correct cleanup io directory