fixing filesystem capacity calculation