fix starting service issue