fix variable types in Iir