fix minor bug in similar files module