figuring out why system_warning is throwing errors