fixed constraint violation while moving model to the same ancestor