quick fix to add verbose error reporting to result and fix count