issue with saving epoch data