Fixed an issue for γ and δ not taken in getLevel