Lists before values, preventing same name value leak
Fixed append attr bug