rsi register fix