fixed form vars bug issue #26