fixed up a few chess logic quirks