fix: handling of SW_RATIONAL