bug fixing <enable-debug>