fixed type validation