Skeletal mesh position change on animation not replicating

i have a sniper game with a head shot mechanic the problem is when i implemented crouching the head shot mechanic stopped working when the client shot the server. the line trace would register the bone hit to be that of a skeleton still standing upright, not crouched, thus making the head shot unhitable . any help would be amazing.
275644-

ive sorted it out it is a problem where the inherited mesh of the first person character only refreshes pose every frame not bones. this is fixed by a simple switch of a button on the mesh under optimisation