fixing id reset bug