template and style  corrected