fix dao method should return null rather than a new object