fix super dumb gpio logic. sorry.