Fixed a bug where the default value was 0.0 and it was still written in
the filed