Fix mode -> model.