fixed: debug.js