Fix [ bug #945 ] error adding a service