made code match wiring + fix typo