fixed type assrtion.