fixed filename bug github issue #6