fixed typo in debug_init function.