Fixing nested caret