finally fixed the client 'centering'