fixed object issue for index