fixed type hinting for string.