handle variable JOIN messages
fix invalid index
handle KICK messages