make some chang for release build