remove unnecessary items in practice