add .to_i to make progress bars work