fixed dao bug