fix the title issue of gallery page