remove legacy data