fix pdf issue on challenge page