fix var & wamp