Changed WG_flag