fixing the model_actor and model_realm behavior