Fixing Xinlu's compiler error.