Fixed memory leak, prevented simul CLEAR