fixed debug & verbose mode selection