remove the extra data