bugfix: removed the debug code