fix jwt parsing