just remove the empty properties