Bug fixed in DBConnector class