add enum svc
fix tons of warnings