fix the problem about compareDAO test successful