remove index hardcode