bugfix,  app crash where progress not set