fix release warnings