Fixed quota bug