Fix some annotation config for PageTemplate