cleaned up verbose error printing