remove unused initialCapacity

remove some unused code