added hit-counter reset
debug output with more information
fatal typo fixed