add zero buffer compatibility