removing extra boxes