fix adding callbacks chain