oops. Fix debug() bug