fix compat files