remove extra data