fix process_counter