correct M and C in getqpp