fixed release build bug