Dao bug correction