fix bug for client protos