fixed printing in verbose mode