move global actions to header