Callback assigner not working