fix file variables