fixed type hint and unused use statements. fixes #73