client-side prediction improvements