fixed build with nightly