fixed bug when db shema name returned emtpy string
style fixes