fixed wiring on startup