hex to base64 done, cleanup needed