fixing broken progress visibilty logic