fixed default progress function.