another fix to models