fix debug mode leftover

References #81