fixed error caret