fix flashing custom firmware while release is 0