Repair stale element ref exception