Fix client-side length