Fix tripcode handling