Separate base64 from index