strip out unneeded stuff