fix bug of not reset the capacity require