remove mysterious block of data at end of file