this finally builds and flashed correctly