Only set style if it has been parsed
Changing variable name from $styles to $style