fix for bad reference to global sender