2 led's and 2 switches

must be the wiring, because the sketch is fine