tweak: add flag only in debug mode