remove duplicate define BUFF_SIZE