fix redefinition of AppServices in init