Fix client refresh