Fix hex/mbn uploading