fixing tabs and producing eventlists