stat: added some debug