fix release DEBUG flag