Int not displaying in widget?

Yeah it does say accessed none. How do i fix this it says it for a normal cast also.