cleanup of code for loading native EM levels