clean up environment