fix bucket ram quota calculation
refactoring task progress