before filter for comments page