added checking on parser Status check: if !='OK' print err message and skip the count...