fix bug of caret controling.