fixed the weird use of a?:b; in two places.