Bugfix: prevent error when printing debug data