fix wrong level integer