custom stylesheet support fix