Fixed Error in Model