Remove unnecessary contents