minor fixes. fixed checking differences in files