tries count fix