fix bug w.r.t. cipher sent by client