fix for a bug caused by #23 and hardcoded generation of getvars variable