Fixed error in nightly build.