fix style and display permissions errors