remove superfluous data