add quotes for isNil check