Fixed some errors in DAO handling, minor change in Schema command message