removing double state