Add quick error path.
Fix debug.