fixed minor bug when only 1 file is translated