Bugfix

fixes #45
The fields were getting cleared before being logged...
pre v0.5.1 tag