Callback hook was getting setup too late