Remove unneeded data