remove extra line at the end of block.csv