Fixed creating of ModVars.

They all were wrong :)