Handle missing eb date

refactor & bug fix & coveralls