fix formvars problem