optimize comments fetching from db