data model get rid of maxid