easiest way I have found to do it or if you are on integer go to float I actually flash between float and custom build.
It allows me to then do a format of the data. maybe just a fluke in my case but has never failed me yet.
Where I buy my ESP8266 boards from... (Banggood)