more verbosity and fix flag pointers