fixed wrong type hints