Fixed id autogeneration