Fix debugging mode.