fix s3 bootloader