index button bug resolve