fix initialization + callback lifetime that may be relevant to #39