add fix for logical i in [