fixed crash with always_counter