make cross compatible with rsi