Correcting a bug while using set method to change verbosity