added support of mnibuf