bug fix css of template