Hi I found out why ik kept getting the value 255, its the standard value from the EEPROM. After i upload the read function code it overwrites the saved data on the EEPROM with 255 to all addresses. This is because the new sketch ''trows'' away the old EEPROM and overwrites it.
Hope other people with the same issue see this post and know why they have the problem.
BUT... their is a solution to it you could buy a defice to alternaty the eefuse which i dont recommend because its very hard to do and you could brick your arduino. Bricking means that your arduino cant read sketches anymore so it is pretty useless then. you could unbrick it by uploading a new bootloader that is also very hard to do. if you want to know hwo this all works just google ''how to change the eefuse of a arduino'' and for the unbricking google ''how to unbrick a arduino (arduino name)''
Thanks everyone for commenting and trying to help appreciate it.