- fixed bug in filenameing