fix prototype print_progress_bar