remove some state