fix multiple styles per component causes error