fixed issues of nightly build