Add References dynamicaly and validation dates fixed