some changes in style and fixed bug for table style