fix for var_nam

https://github.com/GLEON/GLMr/issues/45