Field was not initialized.

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Added check to test for uninitialized fields

Signed-off-by: Stefan Marr <git@stefan-marr.de>