Temp fix for the Linux vs Mac EOF error