Fixing duplicate caret possibility