fixed type in warning