fixed the quantum