typo in model init