fixing for rtd