fixed html structure in lib1 main template