failed count fix