client thread pointer correction