Buffer Queue boundery condition 문제 해결