fixed rsi index issue;
todo: more index issue!