cleaned up the global scope in activities.