bugfixes. was skipping levels