fixed wrong variable name _vx logic and some json schema generator logic