fix variables issues on mxit
fix variables issues on mxit