fixed bugs in event-from-directive (start time validation)