remove some double nobug_counter printing from resource_dump and backtrace