change progressbar and fix lint issue