remove state variables