fixed bug, when DB table doesn't exists