correct a bug for duplicated moves