fix bug for svc