bug fix in cleanup