broken templates style fixed