Added in rescue for illegal moves