added table prefix to all DB queries