similar patch for verbose vs debug with minor changes