Progres counting and fix layout style