fixed non model leaked to template