added bug DAO bug fix