Fixes to QCM2

Signed-off-by: Christoph Paasch <christoph.paasch@uclouvain.be>