added currentStyle fallback