Added some complicated handling of kick-event