Fixed syntax error in Model