change method of DBConnect in DBAccess