bugfix for debug / verbose flag