remove useless contents