turn on compile in production