fix lddn bug