Removing unneeded data index