fixes for ids of models (they are can be a random number)