Fix caret match error