fix typo in cleanup method