updated index method to remove fix