
Why does my printer do this?
It only happens for sides and has happened 6 times

It only happens for sides and has happened 6 times
so basically what I'm trying to do is currently the switch is off but if the switch is on and the button is pressed so SETting the sr latch the motor will start spinning and when switch turns off the motor will stop spinning aswell as RESETting the sr latch that the button had SETted
I tried this b4 without the button and the sr latch I just had a constant HIGH going into the and gate
also the gates in the picture are a NOT and a AND gate but rotated 180 degrees so the NOT gate goes from bottom left to bottom right OUTPUT 4, INPUT 4, OUTPUT 5, INPUT 5 etc.
and the AND gate goes OUTPUT 3, INPUT 3A, INPUT 3B, OUTPUT 4 etc.
sorry for the horrendous wiring any tips on that aswell would be really nice :3
all the leds are always on when I hold a button the corresponding led only turns off as logn as I'm holding it down same for both buttons the nand gate is flipped btw to make connecting to 5v and gnd easier
the right led is always on after I press the left button and then buttons do nth also I have flipped the nand gate so the bottom right usually ground is on the top left and the top left power pin is on the bottom right also the bottom left pin is input 3a the next pin is input 3b and the next is output and repeat's a 2nd time with input 4a etc.
I'd say this is a rather simple print but it says it'll take 5 whole hours I tried printing a simple ass 5g cube once it took 1 whole hour for the tiniest thing ever and other print that say for example 1.2h on the handy app also end up takin 4-5h on the printer my printer didn't use to be like this what could'be changed am I supposed to change some super duper important settings maybe? I tried following some tutorials on yt and they didn't end up changing the time too much they were more on about quality than faster prints anyways
I have pla filament 65C for the bed and 220C for the nozzle recently dried my filament have a textured pei plate and that's all I think that matters don't know what other details to give but usually after around 4 layers my prints get loose and fly off at least some parts of it and it's really annoying I tried using glue which I'll prob never do again didn't do shit and was a pain to cleanup I washed the plate with dish soap and water a couple of times before including 2 days ago anyone knows why this is happening?
It used to print a couple layers and then it flew off now it's printing spaghetti ;-;