workaround for quantum issue