Fix a segfault by not resetting S2C, must find out why this happens