Small fix in service_check