Fixed bug with style output