Fix last event ns calc