Fixed models errors