setNull in a few places