fixed useHint handling