fix num counter