Fix some warning on RTS.