remove ref to callback