replace wrong old mongo pattern with recommended one