fixed type spec formatting