minor simplification to callbacks in Phantom