insertBefore (xml), and prevent bug for addProperty-listener