Fixing replay compilation