Fix GS2 headers and Base64 flags