Trying to fix safetimeout, to fix long math ops