some variable fixes, except parameter for sequence existing and not in
operator