fixed index back to orginal valid state