fix i/index in move up/down and == -> ===