fixed boolean order, doh\!