Fix debug output

Fixes #5