added pry and fixed the model_actor helper