start the service only if there is no error
more fixes in the regex