fixed type in models