fix file compare