remove deprecated callback