Fixed error in check_progress.php