rtd fixes