lazy compile in production