remove extraneous information