changes in quotas model to correct error