fixing variables_global