remove extraneous stuff