fix conditional for pure stylesheet