improved parser for category page