fix null-pointer to ignore transient fields