Tested and fixed all popDBAPI calls