fixed type hint error