Fix dao method.