also found a small problem when doing a reload and having a switch not connected