handle bad (negative) os_type