ztx correct applog typing