nefix some problems with models