bug fixed - prevent close box at middle meanwhile remove the above boxes from collection