[Fix] instance_flag not needed anymore as singleton class made static gvar