fix style loading