fix for quantum