BUG: fixed bug in iv2sls