adjust occuredAt to long