rename config param model to mode