fixed bug in location of qualifiers for inout vars