fixing broken (empty) callback