fix progress link condition