refctd, small changes