Added quantum fix