fixed oreder of callback function