fixing caret