basic cleanup of data