pass string of variable name to  fix #7