Fixed DAO

Fixed methods and variables of DAOPrototype