- Fix wrong initialization of different modes and stacks.