fix fetch -> fetch_var in fetch_var_by