Fixes class name on rendered string