fixed problem with inserting run level elements (#16)