fixing QS