fix object unset and check if field exist, using Nil