fixed a huge memory bug in simpleVar...