fixed lack of return value in Model#set()