Fixed bug in NM buffer size config