fix compilation errors for new QHP api