cleaned up pages and style table