Fix usage of progress monitor