fixed numerous sign errors related to Qual values