Fixed lka for trace.thy