fixing a callback bug