remove unnecessary index when emitting