Fix being unable to flash recovery