bug fix in step sent to get_glob_vars