fix truthyness test