remove elems when call put_empty()