modify event layout