bug fix for saving callback in deep link case