fixed renderer to serve proper CSS classes