removing slice for the state