fix cd to client