Fragment tag replace, new compiler version with logging