Fixed a bug related with quotas