more refactoring fixed end date not in past hook
not using hook but validation