fixes for page type and category layout