some fixes for the levels.xml stuff