fix for rtd