Fix services.c code.