elapsed() const fix