fix for type hints