fixed type mistake