fixed clean up task