fix first error in Q6