fix a bug of mixing _ and - in filename