fix "totalSpace is never read" issue