simplify caret restoration check