fixes to quotas import and export