Trying to fix issue with corrupted data