Remove unnecessary items