fixed the problem, still need to ignore r files.