remove static state