adjusting model and model leak on backend