Fix syntax mistakes in the service