fixed bug in style