fixed weird thing in events redirecting