fixed bug in Model.__str__