remove xml hooks