fixed bug in style element