Fixing the global events