Fixed the bug properly where event is not showing