Fixed nextHint when nextHint does not exist