fixed the major bug with a very minor change

was adding e.getTime() twice, resulting in bad times