actually add missing cases into buffer