fixing style loading