cleaning up environment