level switching correcly stable