fix var files