fixed errors on xdatabase.