update styles and fix encoding problem