fixes nested styling