fixed index key issue in base view