use delete null attr over set to undefined