type conversion for sismember call