fix levelMod in output