fix check for service status