fixing bugs for monolanguage instances