Fixed issue with whitespace in style names