safeApply and model name can contain spaces