remove unecessary progress.end