fix: count bad function call