fixed initialization of level structure values for EM engine