globals in sync hook processing