U8G2 display interrupt

Hi, i’m having a problem with my code trying to make 128x32 ssd1305 oled display to work with it… if i connect it hw i2c it just stops after few seconds, and if i connect it hw SPI (of course i’m changing the jumpers too) it starts to interrupt the picture every few seconds, like it has loose wire…
if i remove the frame and the bar from the code i have no issues… even if i add just a line it starts to make problems… :frowning: please help me find my mistake… here is the code

sketch_nov24a.ino (875 Bytes)

i figured it out.... i was using 3.3v for oled vcc instead of 5v... that causes the problems