bugfix
track number of tries