change dao from static to non-static.