Added failsafe for nonexisting progresFn