fixed a serious bug; xboard compatibility
more strict checked_move