Some errors fixed
keystone db_sync modified