Ensure message isn't null in applyVars