fixing an off by one error in dbufstat