adjust posts query