more debugging for kal files