changing level now works, performance issue when swapping too many times fixed