fix SABRE_HASPQSQL