remove static variables