add exit core if warning exist
add buffer array functions