Fixed a problem with DBHandler