fixed comparison against strings