only getting value 255 from EEPROM

Hi I found out why ik kept getting the value 255,

Did you also correct your erroneous attempt to write an int into a location that can only hold a byte ?