Fixed king loop