Workaround for quantum being stupid