corrected callbacks in xml files