Fix knight bugs