Fix prize idx definition