remove unneeded packages and unneeded field 'appStarted'