bugfix scan count 0