fix qa tests