add app_name to model to fix batch error.