Fix a looping bug with the SICS configuration along with minor fixes