fix for styles names being ripped out