fix OS check in toxic