removing residual callbacks