corrected progess indicator code for all entities