fixed type in service generator