check progress max !=0