Error system need some improvement but works.
Correct an stupid error.
Delete that reduce we don't need it anymore.
Define idField.